
.stage-linemap {
    height: calc(100% - 160px);
    position: relative;
    .linemap-time {
        margin-top: 10px;
        position: relative;
        height: 100%;

        ul {
            margin: 0;
            padding: 0;
        }

        .linemap-time::-webkit-scrollbar {
            width: 0 !important;
            height: 0 !important;
        }

        .linemap-time {
            -ms-overflow-style: none;
            overflow: -moz-scrollbars-none;
        }

        .time-table {
            border-bottom: 1px solid #fafafa;
            text-align: center;
            overflow: hidden;
            position: relative;
            height: 100%;
            flex: 1;
    
            .table-border {
                border-bottom: 1px solid #fafafa;
                height: 50px;
                line-height: 50px;
            }
    
            .table-hearder {
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 50px;
                background-color: #fafafa;
                overflow: hidden;
                font-weight: var(--tiklab-font-weight-bold);
                position: relative;
                top: 0;
    
                .table-hearder-gatter {
                    flex: 1;
                    height: 50px;
    
                    font-weight: var(--tiklab-font-weight-bold);
                    overflow: auto;
                }
    
                .table-hearder-gatter::-webkit-scrollbar {
                    width: 0 !important;
                    height: 0 !important;
                }
    
                .table-hearder-gatter {
                    -ms-overflow-style: none;
                    overflow: -moz-scrollbars-none;
                }
    
                .table-hearder-text {
                    height: 50px;
                    text-align: left;
                    padding: 0 8px;
                }
    
                .table-hearder-title {
                    width: 300px;
                }
    
                .table-hearder-status {
                    width: 60px;
                }
    
                .table-hearder-assigner {
                    width: 90px;
                    // border-right: 1px solid var(--tiklab-gray);
                }
                .table-hearder-action {
                    width: 70px;
                    border-right: 1px solid var(--tiklab-gray);
                }
    
                .table-hearder-time {
                    width: 250px;
                    border-right: 1px solid var(--tiklab-gray);
                }
    
                .table-timer {
                    .table-month {
                        height: 25px;
                        line-height: 25px;
                        background-color: #fafafa;
                        display: inline-flex;
    
                        .table-month-td {
                            border-right: solid #fff 1px;
                            font-size: 12px;
                            overflow: hidden;
                        }
                    }
                }
    
                .table-date {
                    height: 25px;
                    display: inline-flex;
                    text-align: center;
                    border-bottom: 1px solid var(--tiklab-gray);
                    line-height: 25px;
    
                    .table-weekday {
                        border-right: 1px solid #fff;
                        box-sizing: border-box;
                    }
                }
    
                .table-day {
                    font-size: 12px;
                }
    
                .table-week {
                    background-color: #f0f0f0;
                }
            }
    
            .table-hidden {
                display: none;
            }
    
            .table-tr {
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 50px;
    
                .table-td {
                    height: 50px;
                    position: relative;
                    padding: 0 8px;
                    text-align: left;
    
                    .table-icon {
                        display: inline-block;
                        position: absolute;
                        left: 10px;
                        top: 18px;
                    }
                }
    
                .table-td-name {
                    width: 300px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
    
                    display: flex;
                    align-items: center;
    
                }
    
                .table-td-status {
                    width: 60px;
                }
    
                .table-td-assigner {
                    width: 90px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    display: flex;
                    align-items: center;
                    gap: 5px;
                }

                .table-td-action {
                    width: 70px;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 0 15px;
                    gap: 5px;
                    border-right: #f0f0f0 1px solid;
                }
    
                .table-td-time {
                    width: 250px;
                    border-right: #f0f0f0 1px solid;
                    box-sizing: border-box;
                }
    
                .table-gatter {
                    flex: 1;
                }
            }
    
            .table-body {
                max-height: calc(100% - 50px);
                overflow-y: hidden;
    
                .table-grey {
                    background: #f7f7f7;
                }
    
                // ul:nth-child(2n+0) {
                //     
                // }
            }
    
            .table-pic::-webkit-scrollbar {
                width: 0 !important;
                height: 0 !important;
            }
    
            .table-pic {
                -ms-overflow-style: none;
                overflow: -moz-scrollbars-none;
            }
    
            .table-pic {
                position: absolute;
                top: 50px;
                right: 0;
                width: calc(100% - 520px);
                max-height: calc(100% - 50px);
                overflow-x: auto;
                overflow-y: hidden;
    
                .table-date-background {
                    // display: flex;
                    position: absolute;
                    height: 100%;
                    top: 0;
                    left: 0;
                    display: inline-flex;
                    text-align: center;
    
                    // line-height: 25px;
                    .table-weekday {
                        border-right: 1px solid #f0f0f0;
                        box-sizing: border-box;
                    }
    
                    .table-month {
                        border-right: 1px solid #f0f0f0;
                    }
                }
    
                .table-overflow {
                    overflow: auto;
                }
    
                .table-day {
                    border-right: #fafafa solid 1px;
                }
    
                .table-timer {
                    .table-month {
                        height: 25px;
                        line-height: 25px;
                        background-color: #d0e5f2;
                        display: inline-flex;
    
                        .table-month-td {
                            border-right: solid #fff 1px;
                        }
                    }
                }
    
                .table-overflow {
                    height: 100%;
    
                    .gantt-box {
                        height: calc(100% - 50px) !important;
                    }
                }
            }
    
    
        }

        .stage-name {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            // justify-content: space-between;
            // padding: 0 20px;
            .stage-empty-icon {
                height: 18px;
                width: 18px;
            }
            .stage-name-left {
                display: flex;
                align-items: center;
            }
            .stage-name-left-name:hover {
                color: var(--tiklab-blue);
            }
            .stage-key {
                color: #999;
            }
            .stage-key:hover {
                color: var(--tiklab-blue);
            }
            .stage-icon {
                width: 20px;
                height: 20px;
                border-radius: 3px;
                font-size: 12px;
            }
            .stage-text:hover {
                color: var(--tiklab-blue);
            }
            .stage-text {
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                width: 210px;
            }
            .add-child-stage {
                height: 18px;
                width: 18px;
                border-radius: 4px;
                padding: 3px;
                .add-icon {
                    display: none;
                    width: 12px;
                    height: 12px;
                }
            }
            .stage-title {
                line-height: 20px;
                font-size: 12px;
                gap: 10px;
            }
            
        }
        
        // .stage-name:hover .add-child-stage {
        //     background-color: var(--tiklab-gray-400);
        // }
        // .stage-name:hover .add-icon {
        //     display: block;
        // }
        .work-status {
            padding: 2px 3px;
            background: #e2e1e4;
            border-radius: 4px;
            font-size: 10px;
            width: fit-content;
            color: #2b333e;
        }
        .work-status-process{
            background: #b0d5dfa1;
            color: #132c33;
        }
        .work-status-done {
            background: #dfecd5e3;
            color: #5e5314;
        }
    }

    .top-botton {
        text-align: right;

        .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
            z-index: 1;
            color: #ffff;
            background: #E6EDFA;
            border-color: #E6EDFA;
        }

        .ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child {
            border-right-color: #E6EDFA;
        }
    }

    .stage-change-page {
        text-align: center;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
        font-weight: 600;
        background-color: #fff;
        z-index: 10;
        position: relative;
        .change-page-button {
            padding-left: 5px;
            color: var(--tiklab-blue);
        }
        .change-page-button:hover{
            text-decoration: underline;
        }
    }

    .scroll-row {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;

        .scroll-box {
            width: calc(100% - 520px);
            height: 10px;
            background-color: #f5f5f5;
            border-radius: 4px;
            position: relative;

            .scroll-slider {
                width: 100px;
                height: 10px;
                background-color: rgba(0, 0, 0, 0.4);
                border-radius: 4px;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }

    .scroll-col {
        display: flex;
        justify-content: flex-end;
        position: absolute;
        top: 50;
        right: -15px;
        height: calc(100% - 50px);

        .scroll-box {
            width: 10px;
            background-color: #f5f5f5;
            border-radius: 4px;
            position: relative;

            .scroll-slider {
                width: 10px;
                height: 100px;
                background-color: rgba(0, 0, 0, 0.4);
                border-radius: 4px;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }
}
